﻿<div ng-controller="StoreEditController">
    <form class="table-StoreEdit" name="form">
        <h3>Store Edit</h3>
        <table class="tableKind-01 w760">
            <tr>
                <th>
                    {{texts['lb-order']}}:
                </th>
                <td>
                    {{storeOder}}
                </td>
            </tr>
            <tr>
                <th>
                    {{texts['lb-store']}}
                </th>
                <td>
                    <input id="Text1" name="name" type="text" ng-model="rowsStore.Name" validator="[required, requiredBlur]"/>
                </td>
            </tr>
            <tr>
                <th>
                    {{texts['lb-tighen-date']}}
                </th>
                <td>
                    <select class="CBB w70px mr10" ng-model="day">
                        <option ng-repeat="i in Days()" value="{{ i }}" ng-selected="day == i">{{ i }}</option>
                    </select>{{texts['lb-day']}}
                </td>
            </tr>
            <tr>
                <th>
                    {{texts['lb-tighen-time']}}
                </th>
                <td>
                    <select class="CBB w70px mr10" ng-model="hour">
                        <option ng-repeat="i in Hours()" value="{{ i }}" ng-selected="hour == i" ng-model="hour">{{ i }}</option>
                    </select>{{texts['lb-hours']}}
                    <select class="CBB w70px mr10" ng-model="min">
                        <option ng-repeat="i in Mins()" value="{{ i }}" ng-selected="min == i" ng-model="min">{{ i }}</option>
                    </select>{{texts['lb-min']}}

                </td>
            </tr>
            <tr>
                <th>
                    {{texts['lb-staff-number']}}:
                </th>
                <td>
                    {{totalStaff}}
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <ul class="listNgang center">
                        <li>
                            <button class="w110 mr10" ng-click="delete()" ng-if="showTest">{{texts['btn-delete']}}</button>
                        </li>
                        <li>
                            <button class="w110" ng-click="save()">{{texts['btn-save']}}</button>
                        </li>
                    </ul>
                </td>
            </tr>
        </table>
    </form>
    <div id="popup-wrapper"></div>
    <div class="popup-delete-save popupEffer clearfix" >
        <p class="popup-titleDelete">{{title}}</p>
        <ul class="popup-listBtn clearfix">
            <li><a ng-click="action()">Yes</a></li>
            <li><a class="b-close">No</a></li>
        </ul>
    </div>
    <div class="popup-exist popupEffer clearfix">
        <p class="popup-titleDelete">{{titleExist}}</p>
        <ul class="popup-listBtn clearfix">
            <li><a class="b-close">OK</a></li>
        </ul>
    </div>
</div>
